package testman;

public class TestMan {
    int age;
    String name;

    public TestMan(int age, String name) {
        this.age = age;
        this.name = name;
    }
}

class Ts {
    public static void main(String[] args) {
        TestMan testMan1 = new TestMan(19, "Matty");
        System.out.println(testMan1);
        System.out.println("=======");
        TestMan testMan2 = new TestMan(0,"Lyh");
        System.out.println(testMan2);
        System.out.println("=======");
        testMan2 = testMan1;
        System.out.println(testMan2);
        System.out.println("=======");
    }
}
